import request from "@/utils/request";
// 获取标签列表
export function list(data) {
  return request("goods/label/list", data, 'get');
}
// 获取所有标签
export function all(data) {
  return request("goods/label/all", data, 'get');
}
export function info(data) {
  return request("goods/label/info", data, 'get');
}
// 添加标签
export function add(data) {
  return request("goods/label/add", data, 'post');
}
// 编辑标签
export function edit(data) {
  return request("goods/label/edit", data, 'post');
}
// 删除标签
export function del(data) {
  return request("goods/label/del", data, 'post');
}
// 开关标签
export function open(data) {
  return request("goods/label/open", data, 'post');
}
